package com.lmqb.bean;

import java.math.BigDecimal;
import java.util.Date;


/*
 * 公司所有出账明细
 * */
public class LmCompanyAccount {
    private String tradeNo;  //订单号

    private Integer userId;  //用户ID

    private String userName;  //姓名

    private String bankAccount; //加密后的银行账号

    private Byte tradeType;  //交易类型[1借款;2提现]
 
    private BigDecimal tradeAmount; //交易金额

    private Integer createTime;  //订单创建时间

    private Integer submitTime;  //付款提交时间

    private String payResult;  //出款结果[APPLY付款申请;CHECK复核申请;SUCCESS付款成功;PROCESSING付款处理中;CANCEL退款;FAILURE失败;CLOSED关闭;OTHER其他错误]

    private Integer notifyTime;  //通知时间

    private Byte handelFlag;  //处理状态[0请求未提交;1请求处理中;2请求处理结束;3回调待处理;4回调处理中;5回调处理结束]
    
    private Date createTimeD; 
    
    private Date submitTimeD;
    
    private Date notifyTimeD;

    public Date getCreateTimeD() {
		return createTimeD;
	}

	public void setCreateTimeD(Date createTimeD) {
		this.createTimeD = createTimeD;
	}

	public Date getSubmitTimeD() {
		return submitTimeD;
	}

	public void setSubmitTimeD(Date submitTimeD) {
		this.submitTimeD = submitTimeD;
	}

	public Date getNotifyTimeD() {
		return notifyTimeD;
	}

	public void setNotifyTimeD(Date notifyTimeD) {
		this.notifyTimeD = notifyTimeD;
	}

	public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo == null ? null : tradeNo.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    public Byte getTradeType() {
        return tradeType;
    }

    public void setTradeType(Byte tradeType) {
        this.tradeType = tradeType;
    }

    public BigDecimal getTradeAmount() {
        return tradeAmount;
    }

    public void setTradeAmount(BigDecimal tradeAmount) {
        this.tradeAmount = tradeAmount;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public Integer getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Integer submitTime) {
        this.submitTime = submitTime;
    }

    public String getPayResult() {
        return payResult;
    }

    public void setPayResult(String payResult) {
        this.payResult = payResult == null ? null : payResult.trim();
    }

    public Integer getNotifyTime() {
        return notifyTime;
    }

    public void setNotifyTime(Integer notifyTime) {
        this.notifyTime = notifyTime;
    }

    public Byte getHandelFlag() {
        return handelFlag;
    }

    public void setHandelFlag(Byte handelFlag) {
        this.handelFlag = handelFlag;
    }
}